//
//  SGFrameDefine.h
//  SemiGroup
//
//  Created by 陈无忌 on 12/9/15.
//  Copyright © 2015 陈无忌. All rights reserved.
//

#ifndef SGFrameDefine_h
#define SGFrameDefine_h


#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height

//bar height
#define kNavBarHeight self.navigationController.navigationBar.frame.size.height
#define kTabBarHeight self.tabBarController.tabBar.frame.size.height
#define kStatusBarHeight 20

//screen type
#define INCHES_3_5 ([UIScreen mainScreen].bounds.size.height == 480)
#define INCHES_4 ([UIScreen mainScreen].bounds.size.height == 568)
#define INCHES_4_7 ([UIScreen mainScreen].bounds.size.height == 667)
#define INCHES_5_5 ([UIScreen mainScreen].bounds.size.height == 736)


#endif /* SGFrameDefine_h */
